@W-20590941 Updates for local dev process#18
Merged
Conversation
clavery
previously approved these changes
Dec 29, 2025
I'm confused why this is needed for local dev? What's not working about dev.js? For the CLI this works fine to develop without recompilation with tsc (and that includes the dependencies like the SDK). What is not working with the MCP?
Collaborator
|
I'm confused why this is needed for local dev? What's not working about dev.js? For the CLI this works fine to develop without recompilation with tsc (and that includes the dependencies like the SDK). What is not working with the MCP? |
clavery
reviewed
Dec 29, 2025
clavery
reviewed
Dec 29, 2025
| "format:check": "prettier --check src", | ||
| "preinspect": "pnpm run build", | ||
| "inspect": "mcp-inspector node bin/run.js --toolsets all --allow-non-ga-tools", | ||
| "inspect": "mcp-inspector node bin/dev.js --toolsets all --allow-non-ga-tools", |
Collaborator
There was a problem hiding this comment.
Here's what I was going to add in my PR. Giving us the option to run the inspector on the built project AND the dev project:
Suggested change
| "inspect": "mcp-inspector node bin/dev.js --toolsets all --allow-non-ga-tools", | |
| "preinspect": "pnpm run build", | |
| "inspect": "mcp-inspector node bin/run.js --toolsets all --allow-non-ga-tools", | |
| "inspect:dev": "mcp-inspector node --conditions development bin/dev.js --toolsets all --allow-non-ga-tools", |
Co-authored-by: Charles Lavery <clavery@salesforce.com>
…lesforceCommerceCloud/b2c-developer-tooling into t/commerce/W-20590941/updates
clavery
approved these changes
Dec 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added
dev:watchscript to simply local development process.Updated README.md to clarify the dev process.
Benefits of this approach:
Testing
How was this tested?
pnpm test)pnpm run format)